python split first space

46

python split first space -

>>> s = "238 NEO Sports"
>>> s.split(" ", 1)
['238', 'NEO Sports']

Comments

Submit
0 Comments